//
//  SecondTabListFirstModel.m
//  项目A --半糖
//
//  Created by romana on 16/5/23.
//  Copyright © 2016年 romana. All rights reserved.
//

#import "SecondTabListFirstModel.h"
#import "SecondTabListSecondModel.h"

@implementation SecondTabListFirstModel


-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}


-(void)setTopic:(NSMutableArray *)topic{
    
    _topic = topic;
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in _topic) {
        SecondTabListSecondModel *NSModel = [[SecondTabListSecondModel alloc] init];
        [NSModel setValuesForKeysWithDictionary:dic];
        [array addObject:NSModel];
        
    }
    _topic = [NSMutableArray arrayWithArray:array];
    
    
}



@end
